package hcn.protocol.ods.hospitalreport;

import com.alibaba.fastjson.annotation.JSONField;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 医院推送检查报告列表
 * Created by ChenJij on 2019/4/23.
 */
@XmlRootElement(name = "Report")
public class NotifyExamReportRequest {
    private String organizationId;
    private String organizationName;
    private String reportType;//1.检查报告  2检验报告
    private String reportName;
    private String patientName;
    private String cardType;
    private String hcnPatientIdentityCardType;
    private String cardNumber;
    private String examTime;
    private String recordId;

    private String visitOrganization;
    //业务类型1：门诊就诊2：手术3：治疗 4：检验 5：检查，queryType和businessType不能全部为空，都不为空时businessType优先处理；
    private String businessType;
    //队列ID, businessType不为空时有效
    private String queuesId;

    @XmlElement(name = "VisitOrganization")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @XmlElement(name = "VisitOrganizationName")
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    @XmlElement(name = "ExamTypeName")
    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    @XmlElement(name = "PatientName")
    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    @XmlElement(name = "IdCardCode")
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getHcnPatientIdentityCardType() {
        return hcnPatientIdentityCardType;
    }

    public void setHcnPatientIdentityCardType(String hcnPatientIdentityCardType) {
        this.hcnPatientIdentityCardType = hcnPatientIdentityCardType;
    }

    @XmlElement(name = "IdCard")
    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    @XmlElement(name = "ReportDateTime")
    public String getExamTime() {
        return examTime;
    }

    public void setExamTime(String examTime) {
        this.examTime = examTime;
    }

    @XmlElement(name = "RequestId")
    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    @JSONField(name = "businessType")
    @XmlElement(name = "BusinessType")
    public String getBusinessType() {  return businessType; }

    public void setBusinessType(String businessType) {  this.businessType = businessType; }

    @JSONField(name = "queuesId")
    @XmlElement(name = "QueuesId")
    public String getQueuesId() {  return queuesId; }

    public void setQueuesId(String queuesId) { this.queuesId = queuesId; }

}